<?php
	/**
	 * Class to set products attributes
	 */
	class Product {
		private $pkCode;
		private $name;
		private $unitCost;
		
		/**
		 * Constructor of the product
		 */
		public function __construct($pkCode, $name, $unitCost) {
			$this -> name = $name;
			$this -> unitCost = $unitCost;
		}
		
		/**
		 * Getter and setter for attribute $pkCode
		 */
		public function setPkId($pkCode) {
			$this -> pkCode = $pkCode;	
		}
		
		public function getPkId() {
			return $this -> pkCode;
		}
		
		/**
		 * Getter and setter for attribute $name
		 */
		public function setName($name) {
			$this -> name = $name;	
		}
		
		public function getName() {
			return $this -> name;
		}
		
		/**
		 * Getter and setter for attribute $unitCost
		 */
		public function setUnitCost($unitCost) {
			$this -> unitCost = $unitCost;	
		}
		
		public function getUnitCost() {
			return $this -> unitCost;
		}
	}
?>